From 369ebc657ae3fa59f4294432b386021f291b2397 Mon Sep 17 00:00:00 2001 From: Aryeh Gregor Date: Sun, 22 Apr 2007 03:09:42 +0000 Subject: [PATCH] (bug 9656) Generate autosummaries on the deletion of all pages, not just those < 500 bytes. --- RELEASE-NOTES | 2 ++ includes/Article.php | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index b29af22f0b..9936dec31c 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -120,6 +120,8 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN * Introduced media handlers for file-type specific operations. * Improved error reporting for image thumbnailing * Added sharpening option for ImageMagick thumbnailing +* (bug 9656) Autosummaries will be generated for deletion of pages longer than + 500 characters == Bugfixes since 1.9 == diff --git a/includes/Article.php b/includes/Article.php index c48e2ed130..86f9b550da 100644 --- a/includes/Article.php +++ b/includes/Article.php @@ -1865,7 +1865,7 @@ class Article { $reason = wfMsgForContent( 'exblank' ); } - if( $length < 500 && $reason === '' ) { + if( $reason === '' ) { # comment field=255, let's grep the first 150 to have some user # space left global $wgContLang; -- 2.20.1